package com.iretailer.report.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDate;
import java.time.LocalTime;
import java.util.List;

/**
 * @Auther xjw
 * @Date 2019/1/18 1622
 * @Description
 */
@TableName(value = "t_businesstimes")
public class BusinessTimes {
    @TableId(value = "Id", type = IdType.UUID)
    @JSONField(name = "Id")
    private String id;

    @JSONField(name = "CompanyId")
    @TableField(value = "CompanyId")
    private String companyId;

    @JSONField(name = "TimeType")
    @TableField(value = "TimeType")
    private String timeType;

    @JSONField(name = "TimeTypeName")
    @TableField(value = "TimeTypeName")
    private String timeTypeName;

    @JSONField(name = "Weekdays")
    @TableField(value = "Weekdays")
    private String weekdays;

    @JSONField(name = "Description")
    @TableField(value = "Description")
    private String description;

    @JSONField(name = "StartDate")
    @TableField(value = "StartDate")
    private LocalDate startDate;

    @JSONField(name = "StartTime")
    @TableField(value = "StartTime")
    private LocalTime startTime;

    @JSONField(name = "EndDate")
    @TableField(value = "EndDate")
    private LocalDate endDate;

    @JSONField(name = "EndTime")
    @TableField(value = "EndTime")
    private LocalTime endTime;

    @JSONField(name = "MallIds")
    @TableField(exist = false)
    private List<String> mallIds;


    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTimeType() {
        return timeType;
    }

    public void setTimeType(String timeType) {
        this.timeType = timeType;
    }

    public String getTimeTypeName() {
        return timeTypeName;
    }

    public void setTimeTypeName(String timeTypeName) {
        this.timeTypeName = timeTypeName;
    }

    public String getWeekdays() {
        return weekdays;
    }

    public void setWeekdays(String weekdays) {
        this.weekdays = weekdays;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }

    public LocalTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalTime startTime) {
        this.startTime = startTime;
    }

    public LocalDate getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDate endDate) {
        this.endDate = endDate;
    }

    public LocalTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalTime endTime) {
        this.endTime = endTime;
    }

    public List<String> getMallIds() {
        return mallIds;
    }

    public void setMallIds(List<String> mallIds) {
        this.mallIds = mallIds;
    }
}
